projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f803b
)
upgrade: Actually prune deployments again
author
Colin Walters
<walters@verbum.org>
Mon, 27 May 2013 13:29:05 +0000
(09:29 -0400)
committer
Colin Walters
<walters@verbum.org>
Mon, 27 May 2013 13:29:05 +0000
(09:29 -0400)
That was a rather critical logic error...
src/ostree/ot-admin-builtin-upgrade.c
patch
|
blob
|
history
diff --git
a/src/ostree/ot-admin-builtin-upgrade.c
b/src/ostree/ot-admin-builtin-upgrade.c
index 829e1beb5e76a9fda2d76e5fbe95f31ba4454d91..f13ce2186c8c1e845327d07fc8e8396a156b1c8b 100644
(file)
--- a/
src/ostree/ot-admin-builtin-upgrade.c
+++ b/
src/ostree/ot-admin-builtin-upgrade.c
@@
-93,6
+93,7
@@
ot_admin_builtin_upgrade (int argc, char **argv, OtAdminBuiltinOpts *admin_opts,
GS_SUBPROCESS_STREAM_DISPOSITION_INHERIT,
cancellable, error,
"ostree", "admin", ostree_dir_arg, "pull-deploy", osname, NULL))
+ goto out;
if (!gs_subprocess_simple_run_sync (gs_file_get_path_cached (ostree_dir),
GS_SUBPROCESS_STREAM_DISPOSITION_INHERIT,